﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using MyCommunity.Models;
using System;
using System.Web;
public class UserActivateModel
{
    public UserActivateModel(User user, String guid)
    {
      // this.AktivateLink = "http://localhost:50130/User/ActivateUser?mail=" + HttpUtility.UrlEncode(user.Mail) + "&password=" + HttpUtility.UrlEncode(user.Password) + "";
        this.AktivateLink = "http://localhost:50130/User/ActivateUser?mail=" + HttpUtility.UrlEncode(user.Mail) + "&guid=" + HttpUtility.UrlEncode(guid) + "";
    }

    public string AktivateLink { get; set; }
}